package ExerciseTwo;

public class Test2 {
	public static void main(String[] args) {
		Per p = new Per();
		System.out.println(He.AGE);
		p.walk();
		p.eat();
		
	}

}

interface He
{
	int AGE = 18;
	String NAME = "石文学";
	
	void eat();
	
	void sleep();
}
class de implements He
{

	@Override
	public void eat() {
		System.out.println("好好吃饭");
	}

	@Override
	public void sleep() {
		System.out.println("好好睡觉");
	}
	
}
interface She
{
	int AGE = 13;
	String NAME = "普元庆";
	
	void walk();
	
	void show();
	
	void eat();
}
class Per implements She,He
{
	private int number;
	
	public Per(int number) {
		this.number = number;
	}

	public Per() {
		super();
	}

	@Override
	public void sleep() {
		System.out.println("爱睡觉");
	}

	@Override
	public void eat() {
		System.out.println("爱吃");
	}

	@Override
	public void walk() {
		System.out.println("走了两公里");
	}

	@Override
	public void show() {
		System.out.println("喜欢笑");
	}
	
}
